#include <fstream>
#include <iostream>

#define BUFSIZE 256

using namespace std;

int main(int argc, char *argv[])
{
	char line[BUFSIZE];
	ifstream ifs;
	ofstream ofs;

	if (argc < 3)
		return 1;

	ifs.open(argv[1]);
	ofs.open(argv[2]);

	while (ifs.getline(line, BUFSIZE)) {
		//cout << line << endl;
		ofs << line << endl;
	}

	ifs.close();
	ofs.close();

	return 0;
}
